@extends('adminDialog')

@section('content')
<div class="pop_cont pop_table" style="height:400px;">

    <div class="nav">
        <ul class="cc">
            <li class="current">
                <a href="javascript:;">推荐记录</a>
            </li>
        </ul>
    </div>


    <div class="table_list">
        <div id="data_list">
            <table class="items">
                <thead>
                <tr>
                    <th>账号</th>
                    <th>姓名</th>
                    <th>状态</th>
                    <th>注册时间</th>
                </tr>
                </thead>
                <tbody>
                @foreach($list as $item)
                    <tr>
                        <td>{{$item->name}}</td>
                        <td>{{$item->real_name}}</td>
                        <td>@if ($item->status) <span class="green">启用</span> @else <span class="red">禁用</span> @endif</td>
                        <td>{{$item->created_at}}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
        <div class="summary">
            共有 {{$list->total()}} 条数据
        </div>
        @if ($list->hasPages())
            <div class="pager">
                {!! $list->render() !!}
            </div>
        @endif
    </div>

</div>
@stop

@section('style')
    <style>
        .body_none {width: 550px;}
    </style>
@stop